package com.xdb.sqlparser.dialect.oracle.ast.clause;

import java.util.ArrayList;
import java.util.List;

import com.xdb.sqlparser.ast.SQLExpr;
import com.xdb.sqlparser.ast.SQLName;
import com.xdb.sqlparser.dialect.oracle.ast.OracleSQLObjectImpl;
import com.xdb.sqlparser.dialect.oracle.visitor.OracleASTVisitor;

public class OracleRangeValuesClause extends OracleSQLObjectImpl {

	private SQLName name;
	private List<SQLExpr> values = new ArrayList<SQLExpr>();

	@Override
	public void accept0(OracleASTVisitor visitor) {
		if (visitor.visit(this)) {
			acceptChild(visitor, name);
			acceptChild(visitor, values);
		}
		visitor.endVisit(this);
	}

	public SQLName getName() {
		return name;
	}

	public void setName(SQLName name) {
		this.name = name;
	}

	public List<SQLExpr> getValues() {
		return values;
	}

	public void setValues(List<SQLExpr> values) {
		this.values = values;
	}

}
